<%@page import="domain.Member"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%
    request.setAttribute("name","홍길동");
    request.setAttribute("age", 20);
    session.setAttribute("name","Session홍길동");
    session.setAttribute("member",new Member("id-1", "1111", "김철수", "k@a.com"));
    %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
이름 : ${requestScope.name }<br>
session이름 : ${sessionScope.name}<br>
나이 : ${age }<p>

<h2>조회한 회원정보</h2>
ID: ${sessionScope.member.id }<br>
Password:${sessionScope.member.id }<br>
이름:${sessionScope.member.name }<br>
이메일:${sessionScope.member.email }<br>
<p>
session 회원의 이름이 홍길동 인가? ${sessionScope.member.name=="홍길동" },%{sessionScope.member.name eq "홍길동""}<br>
age의 값이 20보다 작은가? ${requestScope.age < 20 }, ${requestScope.age lt 20 }

</body>
</html>